]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
style: Fix hover state difference in notification header buttons
authorSam Hewitt <snwh@gnome.org>
Thu, 14 Mar 2024 13:23:43 +0000 (10:53 -0230)
committerJakub Steiner <jimmac@gmail.com>
Fri, 15 Mar 2024 13:04:55 +0000 (13:04 +0000)
- make the close button and expand button use the same styles
- add style for :active:hover state since it was missing

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3238>

data/theme/gnome-shell-sass/widgets/_message-list.scss

index b52444b89cbd01af968dedd72cb8a1e69d711122..2b3fd610f143477b407d0f923b8b2664b7e5c0da 100644 (file)
       color: $fg_color;
       background-color: transparentize($fg_color, .9);
       padding: 4px;
-      &:hover { background-color: transparentize($fg_color, .87);}
-      &:active { background-color: transparentize($fg_color, .84);}
+      &:hover { background-color: transparentize($fg_color, .81);}
+      &:active,
+      &:active:hover { background-color: transparentize($fg_color, .76);}
       &:insensitive { background-color: transparentize($fg_color, .93);}
     }
 
     .message-expand-button {
       padding: 6px;
-      background-color: transparentize($fg_color, 0.9);
-
       &:ltr { margin-right: $base_padding; }
       &:rtl { margin-left: $base_padding; }
-
-      &:hover { background-color: transparentize($fg_color, 0.8);}
     }
   }